package com.xiaoshuidi.cloud.module.contract.controller.admin.contract.vo.ownerContract;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.List;

@Schema(description = "管理后台 - 变更管家Request VO")
@Data
@ToString(callSuper = true)
public class ChangeHousekeepReqVO {


    /**
     * 管家id
     */
    @NotNull(message = "管家主键不能为空")
    private Long butlerId;

    /**
     * 管家姓名
     */
    @NotEmpty(message = "管家姓名不能为空")
    private String butlerName;

    /**
     * 变更业务
     */
    @NotNull(message = "变更业务不能为空")
    @Size(min = 1,message = "变更业务数量不能小于1")
    private List<Long> ids;

}
